#pragma once
#include "Model.h"
#include "Texture.h"
#include "Shader.h"

class ResourceManager
{
private:
	Model **m_model;
	Texture **m_texture;
	Shader **m_shader;
	int m_numOfModel;
	int m_numOfTexture;
	int m_numOfShader;
	static ResourceManager *s_instance;

	ResourceManager(void);
	~ResourceManager(void);

public:
	static ResourceManager* GetInstance();
	static void Destroy();

	void Init(const char* fileName);
	Model* GetModelById(const char* id);
	Texture* GetTextureById(const char* id);
	Shader* GetShaderById(const char* id);
};